//<![CDATA[
function updatelink() {
	var affid	= 'fr-blgg-21';
	var text	= document.getElementsByTagName('body')[0].innerHTML;
	var exp		= /href="http:\/\/(bf3shop.com|csszip.com|localhost)\/(\w+)\/(\w+)\//g;
	text 	= text.replace(exp,"href=\"#\" onclick=\"window.open('http://www.amazon.fr/dp/$3/?tag="+affid+"');return false;\" rel=\"nofollow\" class=\""); 
	exp		= /<span region="(\w+)" asin="(\w+)">/g;
	text 	= text.replace(exp,"<span onclick=\"window.open('http://www.amazon.$1/dp/$2/?tag="+affid+"');return false;\" style=\"cursor:pointer\">"); 
	exp		= /http:\/\/(bf3shop.com|csszip.com|(fr.|ita.|uk.|es.)?grobag.biz|(ca.)?iowatra.mobi|localhost)\/(\w+)\/(\w+)\//g;
	text = text.replace(exp,"#"); 
	
	document.getElementsByTagName('body')[0].innerHTML = text;
}
function updatelinkstore() {
	      var astore	= 'http://astore.amazon.fr/fortradfr-21/';
        var text        = document.getElementsByTagName('body')[0].innerHTML;
        var exp         = /href="http:\/\/(bf3shop.com|csszip.com|localhost)\/(\w+)\/(\w+)\//g;
        text    = text.replace(exp,"href=\"#\" onclick=\"window.open('"+astore+"detail/$3/');return false;\" rel=\"nofollow\" class=\""); 
        exp             = /<span region="(\w+)" asin="(\w+)">/g;
        text    = text.replace(exp,"<span onclick=\"window.open('"+astore+"detail/$2/');return false;\" style=\"cursor:pointer\">"); 
        exp             = /http:\/\/(bf3shop.com|csszip.com|(fr.|ita.|uk.|es.)?grobag.biz|(ca.)?iowatra.mobi|localhost)\/(\w+)\/(\w+)\//g;
        text = text.replace(exp,"#"); 
        
        document.getElementsByTagName('body')[0].innerHTML = text;
}
//setTimeout('updatelinkstore()',10);
//]]>